//
//  detialHeadCell.m
//  jiaKaoZhuShou
//
//  Created by 金艺社 on 2018/5/22.
//  Copyright © 2018年 金艺社. All rights reserved.
//

#import "detialHeadCell.h"

@implementation detialHeadCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(historyModel *)model {
    _model = model;
    self.yiHuan_lab.text = [NSString stringWithFormat:@"分期已还%@/%@期", _model.oldDivides, _model.divides];
    self.total_lab.text = [NSString stringWithFormat:@"共还本金%@，分期手续费%@", _model.totalRepaymentAccount, _model.interest];
    self.oid_lab.text = _model.oid;
    self.time_lab.text = [NSString stringWithFormat:@"分期时间：%@", [NSString ConvertStrToTime:_model.shoudRepaymentDate]];
}
@end
